package com.easy.easybook.dao;

import com.easy.easybook.dao.base.BaseDao;
import com.easy.easybook.entity.Books;
import com.easy.easybook.entity.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.awt.print.Book;
import java.util.List;

/**
 * @author http://zouyujie.top
 * @date 2021/12/18 19:40
 */
@Mapper
public interface BookMapper extends BaseDao<Books> {

    int update(@Param("name") String name, @Param("url") String url, @Param("stock") Integer stock, @Param("cid") Integer cid, @Param("id") Integer id);

    List<Books> selectBook(@Param("name") String name);
}
